<template>
<section class="screen" ref="sectionRef" v-bind="setSectionRef">
    <div class="screenIn">
        <div class="footer_top">
          <div class="footer_logo">
            <img src="../../images/logo.png" alt="">
            <p>广州日报 · 粤传媒AI音乐网站</p>
          </div>
          <div class="company_intor">
            <p>
              G视频是立足广州的专业视听内容团队，基于多年积累的影视内容生产经验，
              结合视听内容配乐复杂的多样化需求，以⼈⼯智能+⾃研算法研发的AI音乐
              生成模型为核心，打造AI音乐创作工具，为影视生产从业者、个人音乐爱好
              者提供更简单更符合需求的配乐解决方案。通过广报AI音乐模型，哪怕你只
              有灵光一闪、一节音乐、一段歌词，都能拥有符合您需求的音乐作品，赋能
              您的内容表达。
            </p>
          </div>
        </div>
        <div class="footer_bottom">
          <p>
            <!-- <span>@2024XXXXXXX</span>
            <span>违法和不良信息举报电话：000-000-0000   举报邮箱：00000@00.com   隐私问题反馈邮箱：0000000@000.com</span> -->
            <!-- <br> -->
            <span>地址：广州市海珠区芳园路138号 粤传媒大厦</span>
          </p>
          <p>备案号:粤ICP备2024335877号</p>
        </div>
    </div>
</section>
</template>

<script setup>
 import { ref, onMounted } from 'vue'
  const props = defineProps({
    setSectionRef: {
      type: Function,
      required: true
    }
  });

  const sectionRef = ref(null);

  onMounted(() => {
    props.setSectionRef(sectionRef.value); // 将分屏 ref 传递给父组件
    console.log('分屏 4 渲染:', sectionRef.value);

  });
</script>

<style scoped>
.screen {
    height: 63rem !important;
    width: 100%;
    background: #232340;
}
.screenIn {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 3rem;
  box-sizing: border-box;
}

.footer_top {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.footer_logo {
  width: 21.7rem;
  height: 7rem;
}

.footer_logo img {
  width: 100%;
}

.footer_logo p {
  font-size: 1.6rem;
  margin-top: -1rem;
}

.company_intor {
  width: 84.3rem;
  padding-top: 4rem;
  text-align:justify;
}

.company_intor p {
  font-size: 2.5rem;
  font-weight: 300;

}

.footer_bottom{
  width: 100%;
  border-top: 1px solid #FFF;
  margin-top: 10rem;
  padding: 7rem 0 10rem 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 2rem;
  font-weight: 300;
}

.footer_bottom p {
  line-height: 2;
}
</style>
  